module diansha {
	export class vs extends eui.Component implements eui.UIComponent {
		private scroller: eui.Scroller;
		private list: eui.List;
		arr: eui.ArrayCollection = new eui.ArrayCollection();
		private item: any

		public constructor(item: any) {
			super();
			this.item = item;
			this.addEventListener(eui.UIEvent.COMPLETE, this.onComplete, this);
			this.skinName = "vsskin"
		}

		private onComplete() {
			this.list.dataProvider = this.arr;
			this.list.itemRenderer = this.item;
		}


	}
}